package com.jxbai.design.pattern.dcxy.proxy.statics;

/**
 * @author jxbai
 * @date 2022/1/12 0012
 */
public class JxbaiTiktokProxy implements ManTikTok{
    //被代理对象
    private ManTikTok manTikTok;

    public JxbaiTiktokProxy(ManTikTok manTikTok) {
        this.manTikTok = manTikTok;
    }

    @Override
    public void tiktok() {
        System.out.println("功能增强");
        manTikTok.tiktok();
    }
}
